package edu.sctu.practice.class02.luohui.practice;

/**
 * Created by asus on 2015/10/15.
 */
public class Content {
    private double radius;
    public double area;
    public static int numOfObjects = 0;
    public static final double PI=3.14;
    public Content(double radius){
        this.radius=radius;
        numOfObjects++;

    }
    public double seekArea() {
        System.out.println("当圆的半径为" + radius);
        area = PI * radius * radius;
        return area;
    }
    public static int statistics() {
        return numOfObjects;
    }


}
